package com.wanfu.dao;

import com.wanfu.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findUserByMobile(@Param("mobile") String mobile);

    User findUserByUserName(@Param("userName")String userName);
}